<?php $taghot = db_find('git_tags', array(), array('link'=>-1), 1, 20); ?>
<style>
/* 边缘色 e5e9ef, 底色 f5f5f5*/
#taghot { padding:1rem; }
#taghot h5 { color:#999; font-size: 1rem }
#taghot ul { padding: 0.5rem 0; margin: 0; list-style-type: none;}
#taghot ul li { margin:0 0.3rem 0.3rem 0; float: left; border:1px solid #f1f1f1; border-radius:4px; background:#f1f1f1; }
#taghot ul li a { font-size:12px; color: #555; display: block; padding:0 0.5rem;}
#taghot ul {  }

a:link,a:visited,a:hover { text-decoration:none }
#taghot ul:after { content: " "; display: block; height: 0; clear: both; visibility: hidden }
#taghot h5:hover { color:#ffa7bf; }
#taghot ul li:hover { border:1px solid #ffe7ff; background:#fff; }
#taghot ul li a:hover { color: #ffa7bf; }

</style>
<div id="taghot" class="card">
	<h5><span class="icon-tags"></span>TAG</h5>
	<ul>
		<?php foreach ( $taghot as $k ){ ?>
		<li><a href='<?php echo url("tag-$k[tagid]") ?>'><?php echo $k['name'] ?> (<?php echo $k['link'] ?>)</a></li>
		<?php } ?>
	</ul>
</div>